package com.fsq.dao;

import com.fsq.entity.Employee;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author fsq
 * @date 2020/07/27
 */
public interface EmployeeDao {

    public List<Employee> listEmployees();

    public Employee getById(@Param("id") Integer id);

    public void insertSelective(@Param("param") Employee employee);

    public void update(@Param("param") Employee employee);

    public void delete(@Param("id") Integer id);
}
